<?php
namespace BP\UtilisateurBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use BP\CompteBundle\Entity\CompteManager;

/**
 * @ORM\Entity
 */
class Utilisateur extends BaseUser
{
    /**
    * @ORM\Id
    * @ORM\Column(type="integer")
    * @ORM\generatedValue(strategy="AUTO")
    */
    protected $id;
    
    /**
     * @var boolean $deleted
     *
     * @ORM\Column(name="deleted", type="boolean")
     */
    protected $deleted = "0";

    public function __construct()
    {
        parent::__construct();
		$this->setCompteManager = new CompteManager();
    }

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set deleted
     *
     * @param boolean $deleted
     */
    public function setDeleted($deleted)
    {
        $this->deleted = $deleted;
    }

    /**
     * Get deleted
     *
     * @return boolean 
     */
    public function getDeleted()
    {
        return $this->deleted;
    }

    /**
     * Set compteManager
     *
     * @param BP\CompteBundle\Entity\CompteManager $compteManager
     */
    public function setCompteManager(\BP\CompteBundle\Entity\CompteManager $compteManager)
    {
        $this->compteManager = $compteManager;
    }

    /**
     * Get compteManager
     *
     * @return BP\CompteBundle\Entity\CompteManager 
     */
    public function getCompteManager()
    {
        return $this->compteManager;
    }
}
